package com.ruoyi.mobile.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户运动处方配置课程对象 user_prescription_lesson
 * 
 * @author ruoyi
 * @date 2022-10-14
 */
public class UserPrescriptionLesson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Integer id;

    /** user_prescription.id */
    @Excel(name = "user_prescription.id")
    private Integer prescriptionId;

    /** lesson.id */
    @Excel(name = "lesson.id")
    private Integer lessonId;

    /** 已经打卡次数 */
    @Excel(name = "已经打卡次数")
    private Integer checkinCount;

    private String title;

    private String cover;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPrescriptionId(Integer prescriptionId) 
    {
        this.prescriptionId = prescriptionId;
    }

    public Integer getPrescriptionId() 
    {
        return prescriptionId;
    }
    public void setLessonId(Integer lessonId) 
    {
        this.lessonId = lessonId;
    }

    public Integer getLessonId() 
    {
        return lessonId;
    }
    public void setCheckinCount(Integer checkinCount) 
    {
        this.checkinCount = checkinCount;
    }

    public Integer getCheckinCount() 
    {
        return checkinCount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("prescriptionId", getPrescriptionId())
            .append("lessonId", getLessonId())
            .append("checkinCount", getCheckinCount())
            .toString();
    }
}
